package net.jueb.flexAdmin.services.impl;

import org.apache.commons.lang.StringUtils;
import org.springframework.stereotype.Service;
import net.jueb.flexAdmin.services.LoginService;

@Service("loginService2")
public class LoginServiceImpl2 implements LoginService{
    
	@Override
	public String login(String user, String pwd) throws Exception {
		if(StringUtils.isEmpty(pwd))
		{
			throw new RuntimeException("pwd is empty");
		}
		return "success";
	}
}